package com.sywl.ytcx.service;

import org.springframework.core.io.Resource;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface AssetService {
    ResponseEntity<Resource> getAsset(String fileName, String type, boolean download);
    String uploadAsset(MultipartFile file, String type) throws IOException;
}
